Skip to content

Conversation

Jiseong-oh
Copy link
Collaborator

@Jiseong-oh Jiseong-oh commented Aug 26, 2025

Summary

This PR introduces support for the Exynos backend of Executorch, can be inferenced on Exynos acceletors.
Exynos Backend is a crucial component designed to optimize the performance of AI models on Exynos chipsets. Leveraging Exynos AI LiteCore, it enables comprehensive support for NPU/DSP, CPU, and GPU, ensuring seamless execution of AI workloads on Exynos-based devices.

Below is a description of the features:

  • Exynos Backend : The backends/samsung directory were made by ENN Partitioner, I/F for communication with Exynos LiteCore, runtime backend files and device-specific optimization. See backend/samsung/README.md for usage

  • Exynos examples: The examples/samsung directory privides scripts for AOT compilation, quantization and so on. please refer examples/samsung/README.md

Test plan

This PR is tested with Exynos Backend on NPU/DSP/CPU/GPU of Exynos 2500 SoC. To run the layer and models tests with README.md

cc: @mergennachin @SS-JIA @digantdesai @kimishpatel

Signed-off-by: jiseong.oh <jiseong.oh@samsung.com>
Copy link

pytorch-bot bot commented Aug 26, 2025

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/13677

Note: Links to docs will display an error until the docs builds have been completed.

❌ 1 New Failure

As of commit 4994e6b with merge base 6c12956 (image):

NEW FAILURE - The following job has failed:

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@meta-cla meta-cla bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Aug 26, 2025
@Jiseong-oh
Copy link
Collaborator Author

Jiseong-oh commented Aug 26, 2025

@pytorchbot label "release notes: Exynos"

Copy link

pytorch-bot bot commented Aug 26, 2025

Didn't find following labels among repository labels: release notes: Exynos,partner:Samsung

@Jiseong-oh
Copy link
Collaborator Author

@pytorchbot label "release notes: Exynos"

Copy link

pytorch-bot bot commented Aug 26, 2025

Didn't find following labels among repository labels: release notes: Exynos

Jiseong-oh and others added 8 commits August 26, 2025 04:16
- Provides a Python interface for compiling NN models via LiteCore in ahead-of-time compilation.

Co-authored-by: chong-chen <chong.chen@samsung.com>
Signed-off-by: chong-chen <chong.chen@samsung.com>
Signed-off-by: jiseong.oh <jiseong.oh@samsung.com>
Add Op wrapper and tensor wrapper for Converter of LiteCore.
Also, include the op param wrapper and quantize param wrapper.

Co-authored-by: chong-chen <chong.chen@samsung.com>
Signed-off-by: jiseong.oh <jiseong.oh@samsung.com>
- For Exynos AI LiteCore, EXIR will be serialized and converted.

Signed-off-by: chong-chen <chong.chen@samsung.com>
Signed-off-by: jiseong.oh <jiseong.oh@samsung.com>
- It can be converted op or graph

Signed-off-by: jiseong.oh <jiseong.oh@samsung.com>
Implement backend and executor for exynos.

Co-authored-by: chong-chen <chong.chen@samsung.com>
Signed-off-by: jiseong.oh <jiseong.oh@samsung.com>
Signed-off-by: jiseong.oh <jiseong.oh@samsung.com>
- Add the enn executor and backends

Signed-off-by: chong-chen <chong.chen@samsung.com>
Signed-off-by: jiseong.oh <jiseong.oh@samsung.com>
- it is descripted how to compile/use Exynos backend.

Signed-off-by: jiseong.oh <jiseong.oh@samsung.com>
- update class name

Signed-off-by: jiseong.oh <jiseong.oh@samsung.com>
Signed-off-by: jiseong.oh <jiseong.oh@samsung.com>
- This script can be supported for building exynos backend easily

Signed-off-by: jiseong.oh <jiseong.oh@samsung.com>
- Add exynos backend on executorch

Signed-off-by: jiseong.oh <jiseong.oh@samsung.com>
fout.close();
}

int main(int argc, char** argv) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you dont feel like you need to be able to have your runner execute on baremetal you could use extension/Module rather then dealing with the lower level ET apis like dataloader, method, methodmeta etc

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @JacobSzwejbka for reviewing.
However, do you have any examples which uses high level APIs (extension) in runner? I briefly reviewed the source code of runner in XNNPACK (portable) or QNN for reference, they seem to use similar APIs to each other from my point of view. If you link any references for that, it might be very helpful to implement.

We are preparing the next commits such as supporting dummy-inputs (using extension) if user doesn't indicate input test file.

Copy link
Contributor

@JacobSzwejbka JacobSzwejbka Aug 29, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah Im not sure we do have any runner's written against these apis. xnnpack / portable's runner predates their existence and QNN's seems copy pasted from that one with some QNN specific changes.

In general they should be pretty easy to use though I think. Just need this constructor https://github.com/pytorch/executorch/blob/main/extension/module/module.h#L63
and then call
https://github.com/pytorch/executorch/blob/main/extension/module/module.h#L379

extension/tensor is just to dramatically simplify creating ET tensors. Its an owning wrapper that manages the buffers that back the metadata like sizes and strides. from_blob is probably the api you would want to call from there.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JacobSzwejbka
We'll try to apply your comment for the next PR. thanks!

@mergennachin mergennachin added partner: samsung For backend delegation, kernels, demo, etc. from the 3rd-party partner, Samsung release notes: exynos labels Aug 26, 2025
- this option will be revmoed after stable link is defined.

Signed-off-by: jiseong.oh <jiseong.oh@samsung.com>
Signed-off-by: jiseong.oh <jiseong.oh@samsung.com>
Signed-off-by: jiseong.oh <jiseong.oh@samsung.com>
Signed-off-by: jiseong.oh <jiseong.oh@samsung.com>
Signed-off-by: jiseong.oh <jiseong.oh@samsung.com>
Signed-off-by: jiseong.oh <jiseong.oh@samsung.com>
Signed-off-by: jiseong.oh <jiseong.oh@samsung.com>
Signed-off-by: jiseong.oh <jiseong.oh@samsung.com>
Signed-off-by: jiseong.oh <jiseong.oh@samsung.com>
Comment on lines +33 to +47
NDK_INSTALLATION_DIR=/opt/ndk
rm -rf "${NDK_INSTALLATION_DIR}" && sudo mkdir -p "${NDK_INSTALLATION_DIR}"
ANDROID_NDK_VERSION=r27b

pushd .
cd /tmp
curl -Os --retry 3 "https://ossci-android.s3.amazonaws.com/android-ndk-${ANDROID_NDK_VERSION}-linux.zip"
unzip -qo "android-ndk-${ANDROID_NDK_VERSION}-linux.zip"

# Print the content for manual verification
ls -lah "android-ndk-${ANDROID_NDK_VERSION}"
sudo mv "android-ndk-${ANDROID_NDK_VERSION}"/* "${NDK_INSTALLATION_DIR}"
popd
# build Exynos backend
export ANDROID_NDK_ROOT=${ANDROID_NDK_ROOT:-/opt/ndk}
Copy link
Contributor

@mergennachin mergennachin Sep 5, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have another docker image that already contains android ndk so that you don't have do download and install.

You'll have faster CI turnaround time. Here's how the docker image is configured

executorch-ubuntu-22.04-clang12-android

executorch-ubuntu-22.04-clang12-android)
LINTRUNNER=""
CLANG_VERSION=12
# From https://developer.android.com/ndk/downloads
ANDROID_NDK_VERSION=r27b
;;

ARG ANDROID_NDK_VERSION
# Install lintrunner if needed
COPY ./common/install_android.sh install_android.sh
RUN if [ -n "${ANDROID_NDK_VERSION}" ]; then bash ./install_android.sh; fi
RUN rm install_android.sh

Copy link
Collaborator Author

@Jiseong-oh Jiseong-oh Sep 8, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could i try to change the docker next pr? we can test to build with our SDK on this docker after this pr is merged.
Actually, we are preparing to change to executorch-ubuntu-22.04-clang12-android.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could i try to change the docker next pr?

Okay, please create an issue into the board so that we can track ExecuTorch Samsung (view)

Copy link
Contributor

@mergennachin mergennachin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I created a project board to track all issues related to

https://github.com/orgs/pytorch/projects/140/views/3

Each issue contains a milestone (e.g., 1.0.0, 1.1.0)

Majority of them can be done for 1.1.0 after this PR lands. The only one that I want to land before 9/12 branch cut is #13999

add_library(enn_logging STATIC)


if(${CMAKE_SYSTEM_PROCESSOR} MATCHES "x86_64")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I created an issue to track here as a follow-up PR after this one lands: #14000

- Exynos 2500 (E9955)

### Supported Inference Type
- Quantized (i8/u8/i16/u16)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Created an issue to track: #14003

### Build AOT Targets
Generated python artifacts allow user call `Compile` interface to lower a model to ENN backend in python script.
```bash
./backends/samsung/build.sh -b x86_64
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For e2e integration test, created an issue to track: #14002

Comment on lines +59 to +64
```bash
cmake extension/android \
-DCMAKE_TOOLCHAIN_FILE="${ANDROID_NDK}/build/cmake/android.toolchain.cmake" \
-DANDROID_ABI="${ANDROID_ABI}" \
-DCMAKE_INSTALL_PREFIX=cmake-android-out \
-Bcmake-android-out/extension/android
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cc @Jiseong-oh please take a look at Kimish's question

is deploying torch model run with exynos NPU/DSP.

This backend is implemented on the top of [EXYNOS_LITECORE](https://soc-developer.semiconductor.samsung.com/global/development/light-core)
Please prepare the SDK before you start, it is important to code compilation and runtime.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Created an issue to track: #14004

Signed-off-by: jiseong.oh <jiseong.oh@samsung.com>
Signed-off-by: jiseong.oh <jiseong.oh@samsung.com>
Signed-off-by: jiseong.oh <jiseong.oh@samsung.com>
@Jiseong-oh
Copy link
Collaborator Author

I created a project board to track all issues related to

ExecuTorch Samsung (view)

Each issue contains a milestone (e.g., 1.0.0, 1.1.0)

Majority of them can be done for 1.1.0 after this PR lands. The only one that I want to land before 9/12 branch cut is #13999

Could't I have a chance to merge next pr before 9/12 branch cut? Acutally, I am preparing to next pr for supporting other float models and ops now.

@mergennachin
Copy link
Contributor

Could't I have a chance to merge next pr before 9/12 branch cut? Acutally, I am preparing to next pr for supporting other float models and ops now.

Yeah, let's try that. If it's possible to land before the branch cut, that's fine too since we have the basic integration. . Please create an issue and add to this board ExecuTorch Samsung (view)

Copy link
Contributor

@mergennachin mergennachin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Jiseong-oh --

  1. Thanks for the CI fix, we will try to land this PR now.
  2. Also, you have full access to the project board (https://github.com/orgs/pytorch/projects/140/views/3). You can create new issues and add to the board as you fit. I'd encourage you to proactively use the board to communicate issues and plans, such as what needs to be done as follow-up PR before branch cut, what can be done afterwards etc.

@SS-JIA:

  1. please try to reproduce. you probably don't have exynos device, but at least reproduce the AOT part.
  2. please import internally and double check it doesn't break any internal test case. Probably it won't since it is an isolated change, but double checking would be good.

cc @kimishpatel , @digantdesai , @JacobSzwejbka @GregoryComer -- any thoughts? if you have major feedback perhaps you can just create an issue in this board (https://github.com/orgs/pytorch/projects/140/views/3), with appropriate milestone and priority attached and they can do as follow-up PRs, if necessary.

@SS-JIA
Copy link
Contributor

SS-JIA commented Sep 9, 2025

I checked out the PR and was able to build all the components. I was able to build the ENN executor runner and at least run it with --help via adb shell. ./install_executorch.sh works as expected which is good.

However, I was not able to reproduce exporting models with the aot_compiler.py script. The first time I ran it, I got

/home/ssjia/Github/executorch/src/executorch/backends/samsung/serialization/compile_options.py:14: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81.
  import pkg_resources
Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "/home/ssjia/Github/executorch/examples/samsung/aot_compiler.py", line 17, in <module>
    from executorch.backends.samsung.utils.export_utils import (
  File "/home/ssjia/Github/executorch/src/executorch/backends/samsung/utils/export_utils.py", line 11, in <module>
    from executorch.backends.samsung.partition.enn_partitioner import EnnPartitioner
  File "/home/ssjia/Github/executorch/src/executorch/backends/samsung/partition/enn_partitioner.py", line 9, in <module>
    import executorch.backends.samsung.builders.node_visitor as node_visitor
  File "/home/ssjia/Github/executorch/src/executorch/backends/samsung/builders/__init__.py", line 7, in <module>
    from . import (
  File "/home/ssjia/Github/executorch/src/executorch/backends/samsung/builders/node_visitor.py", line 16, in <module>
    from executorch.backends.samsung.serialization.enn_graph_schema import EnnGraph
  File "/home/ssjia/Github/executorch/src/executorch/backends/samsung/serialization/enn_graph_schema.py", line 10, in <module>
    import executorch.backends.samsung.python.PyGraphWrapperAdaptor as PyGraphWrapper
ImportError: libglog.so.0: cannot open shared object file: No such file or directory

It seems that there is a dependency on glog/gflags. To attempt to workaround it, I tested building glog/gflags from source (I initially tried to install via dnf but no luck). Unfortunately, I now ran into a segmentation fault:

[R5CY21Y3WCJ]ssjia@devvm20123 ~/Github/executorch (samsung_test)$ python -m examples.samsung.aot_compiler --chipset e9955 -m ic3
/home/ssjia/Github/executorch/src/executorch/backends/samsung/serialization/compile_options.py:14: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81.
  import pkg_resources
[1]    1423484 segmentation fault (core dumped)  https_proxy=http://fwdproxy:8080 http_proxy=http://fwdproxy:8080 no_proxy=  -

Using lldb, I found that the seg fault is likely coming from glog:

>>> runpy.run_module("examples/samsung/aot_compiler")
Traceback (most recent call last):
  File "<console>", line 1, in <module>
  File "<frozen runpy>", line 222, in run_module
  File "<frozen runpy>", line 142, in _get_module_details
ImportError: No module named examples/samsung/aot_compiler
>>> runpy.run_path("examples/samsung/aot_compiler.py")
/home/ssjia/Github/executorch/src/executorch/backends/samsung/serialization/compile_options.py:14: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81.
  import pkg_resources
LLDB diagnostics will be written to /tmp/ssjia/diagnostics-23c32c
Please include the directory content when filing a bug report
PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
Stack dump:
0.      Program arguments: lldb
Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH or set the environment var `LLVM_SYMBOLIZER_PATH` to point to it):
0  lldb                 0x00005624f6afb9bb
1  lldb                 0x00005624f6af994b
2  lldb                 0x00005624f6afca3a
3  libc.so.6            0x00007fed9e044560
4  libc.so.6            0x00007fed9e09c993 pthread_kill + 67
5  libc.so.6            0x00007fed9e0444ad raise + 29
6  liblldb.so.15        0x00007feda11c6462
7  libc.so.6            0x00007fed9e044560
8  libglog.so.0         0x00007fed87fdc809
9  libglog.so.0         0x00007fed87fdd346
10 ld.so                0x00007feda4c548af
11 ld.so                0x00007feda4c549a9
12 libc.so.6            0x00007fed9e179a25 _dl_catch_exception + 229
13 ld.so                0x00007feda4c59387
14 libc.so.6            0x00007fed9e1799d0 _dl_catch_exception + 144
15 ld.so                0x00007feda4c58929
16 libc.so.6            0x00007fed9e0968e0
17 libc.so.6            0x00007fed9e1799d0 _dl_catch_exception + 144
18 libc.so.6            0x00007fed9e179a95 _dl_catch_error + 37
19 libc.so.6            0x00007fed9e096433
20 libc.so.6            0x00007fed9e096968 dlopen + 56
21 libpython3.12.so.1.0 0x00007fed9dceeb64
22 libpython3.12.so.1.0 0x00007fed9dcee397
23 libpython3.12.so.1.0 0x00007fed9dcedfb4
24 libpython3.12.so.1.0 0x00007fed9dd59246
25 libpython3.12.so.1.0 0x00007fed9dac5ba1 _PyEval_EvalFrameDefault + 61169
26 libpython3.12.so.1.0 0x00007fed9db1359c PyObject_CallMethodObjArgs + 556
27 libpython3.12.so.1.0 0x00007fed9db353f2 PyImport_ImportModuleLevelObject + 2610
28 libpython3.12.so.1.0 0x00007fed9dac0ea2 _PyEval_EvalFrameDefault + 41458
29 libpython3.12.so.1.0 0x00007fed9dc54518 PyEval_EvalCode + 152
30 libpython3.12.so.1.0 0x00007fed9dd22e5d
31 libpython3.12.so.1.0 0x00007fed9ddcec74
32 libpython3.12.so.1.0 0x00007fed9dac5ba1 _PyEval_EvalFrameDefault + 61169
33 libpython3.12.so.1.0 0x00007fed9db1359c PyObject_CallMethodObjArgs + 556
34 libpython3.12.so.1.0 0x00007fed9db353f2 PyImport_ImportModuleLevelObject + 2610
35 libpython3.12.so.1.0 0x00007fed9dac0ea2 _PyEval_EvalFrameDefault + 41458
36 libpython3.12.so.1.0 0x00007fed9dc54518 PyEval_EvalCode + 152
37 libpython3.12.so.1.0 0x00007fed9dd22e5d
38 libpython3.12.so.1.0 0x00007fed9ddcec74
39 libpython3.12.so.1.0 0x00007fed9dac5ba1 _PyEval_EvalFrameDefault + 61169
40 libpython3.12.so.1.0 0x00007fed9db1359c PyObject_CallMethodObjArgs + 556
41 libpython3.12.so.1.0 0x00007fed9db353f2 PyImport_ImportModuleLevelObject + 2610
42 libpython3.12.so.1.0 0x00007fed9db34720
43 libpython3.12.so.1.0 0x00007fed9ddcec74
44 libpython3.12.so.1.0 0x00007fed9dac5ba1 _PyEval_EvalFrameDefault + 61169
45 libpython3.12.so.1.0 0x00007fed9db1359c PyObject_CallMethodObjArgs + 556
46 libpython3.12.so.1.0 0x00007fed9db34ea6 PyImport_ImportModuleLevelObject + 1254
47 libpython3.12.so.1.0 0x00007fed9dac0ea2 _PyEval_EvalFrameDefault + 41458
48 libpython3.12.so.1.0 0x00007fed9dc54518 PyEval_EvalCode + 152
49 libpython3.12.so.1.0 0x00007fed9dd22e5d
50 libpython3.12.so.1.0 0x00007fed9ddcec74
51 libpython3.12.so.1.0 0x00007fed9dac5ba1 _PyEval_EvalFrameDefault + 61169
52 libpython3.12.so.1.0 0x00007fed9db1359c PyObject_CallMethodObjArgs + 556
53 libpython3.12.so.1.0 0x00007fed9db353f2 PyImport_ImportModuleLevelObject + 2610
54 libpython3.12.so.1.0 0x00007fed9db34720
55 libpython3.12.so.1.0 0x00007fed9ddcec74
56 libpython3.12.so.1.0 0x00007fed9dac5ba1 _PyEval_EvalFrameDefault + 61169
57 libpython3.12.so.1.0 0x00007fed9db1359c PyObject_CallMethodObjArgs + 556
58 libpython3.12.so.1.0 0x00007fed9db353f2 PyImport_ImportModuleLevelObject + 2610
59 libpython3.12.so.1.0 0x00007fed9dac0ea2 _PyEval_EvalFrameDefault + 41458
60 libpython3.12.so.1.0 0x00007fed9dc54518 PyEval_EvalCode + 152
61 libpython3.12.so.1.0 0x00007fed9dd22e5d
62 libpython3.12.so.1.0 0x00007fed9ddcec74
63 libpython3.12.so.1.0 0x00007fed9dac5ba1 _PyEval_EvalFrameDefault + 61169
64 libpython3.12.so.1.0 0x00007fed9db1359c PyObject_CallMethodObjArgs + 556
65 libpython3.12.so.1.0 0x00007fed9db353f2 PyImport_ImportModuleLevelObject + 2610
66 libpython3.12.so.1.0 0x00007fed9dac0ea2 _PyEval_EvalFrameDefault + 41458
67 libpython3.12.so.1.0 0x00007fed9dc54518 PyEval_EvalCode + 152
68 libpython3.12.so.1.0 0x00007fed9dd22e5d
69 libpython3.12.so.1.0 0x00007fed9ddcec74
70 libpython3.12.so.1.0 0x00007fed9dac5ba1 _PyEval_EvalFrameDefault + 61169
71 libpython3.12.so.1.0 0x00007fed9db1359c PyObject_CallMethodObjArgs + 556
72 libpython3.12.so.1.0 0x00007fed9db353f2 PyImport_ImportModuleLevelObject + 2610
73 libpython3.12.so.1.0 0x00007fed9dac0ea2 _PyEval_EvalFrameDefault + 41458
74 libpython3.12.so.1.0 0x00007fed9dc54518 PyEval_EvalCode + 152
75 libpython3.12.so.1.0 0x00007fed9dd22e5d
76 libpython3.12.so.1.0 0x00007fed9ddcec74
77 libpython3.12.so.1.0 0x00007fed9da52349 PyObject_Vectorcall + 89
78 libpython3.12.so.1.0 0x00007fed9dac3af8 _PyEval_EvalFrameDefault + 52808
79 libpython3.12.so.1.0 0x00007fed9dc54518 PyEval_EvalCode + 152
80 libpython3.12.so.1.0 0x00007fed9dd22e5d
81 libpython3.12.so.1.0 0x00007fed9dac4dfe _PyEval_EvalFrameDefault + 57678
82 libpython3.12.so.1.0 0x00007fed9dc54518 PyEval_EvalCode + 152
83 libpython3.12.so.1.0 0x00007fed9dc54353
84 libpython3.12.so.1.0 0x00007fed9dd874e6 PyRun_SimpleStringFlags + 246
85 liblldb.so.15        0x00007feda1024a5e
86 liblldb.so.15        0x00007feda0a900a3
87 liblldb.so.15        0x00007feda0b765bd
88 liblldb.so.15        0x00007feda08a262d lldb::SBDebugger::RunCommandInterpreter(bool, bool) + 157
89 lldb                 0x00005624f6adcc9f
90 lldb                 0x00005624f6add8b5
91 libc.so.6            0x00007fed9e02c657
92 libc.so.6            0x00007fed9e02c718 __libc_start_main + 136
93 lldb                 0x00005624f6ad9491
[1]    1439721 segmentation fault (core dumped)  lldb

I raised this with @Jiseong-oh, and it seems that the glog dependency issues should be fixed eventually.

I'll merge this PR for now so that Samsung folks can begin working on the next PR. Getting access to a Ubuntu machine to properly reproduce may not be easy, please let me know if anyone has any ideas.

@SS-JIA SS-JIA merged commit 823dea1 into pytorch:main Sep 9, 2025
274 of 275 checks passed
@Jiseong-oh Jiseong-oh deleted the exynos-backend branch September 9, 2025 04:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. partner: samsung For backend delegation, kernels, demo, etc. from the 3rd-party partner, Samsung release notes: exynos

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants